package com.ruoyi.zhhq.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆对象 zhhq_car
 * 
 * @author Anthony Lu
 * @date 2022-10-26
 */
public class Car extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆id */
    private String carId;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String carName;

    /** 车辆类别id */
    @Excel(name = "车辆类别id")
    private String typeId;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 座位 */
    @Excel(name = "座位")
    private String size;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carnum;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    private Cartype cartype;

    public Cartype getCartype() {
        return cartype;
    }

    public void setCartype(Cartype cartype) {
        this.cartype = cartype;
    }

    public void setCarId(String carId)
    {
        this.carId = carId;
    }

    public String getCarId() 
    {
        return carId;
    }
    public void setCarName(String carName) 
    {
        this.carName = carName;
    }

    public String getCarName() 
    {
        return carName;
    }
    public void setTypeId(String typeId) 
    {
        this.typeId = typeId;
    }

    public String getTypeId() 
    {
        return typeId;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setSize(String size) 
    {
        this.size = size;
    }

    public String getSize() 
    {
        return size;
    }
    public void setCarnum(String carnum) 
    {
        this.carnum = carnum;
    }

    public String getCarnum() 
    {
        return carnum;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return "Car{" +
                "carId='" + carId + '\'' +
                ", carName='" + carName + '\'' +
                ", typeId='" + typeId + '\'' +
                ", color='" + color + '\'' +
                ", size='" + size + '\'' +
                ", carnum='" + carnum + '\'' +
                ", status='" + status + '\'' +
                ", cartype=" + cartype +
                '}';
    }
}
